/**
 * @project readnote
 * @Title SellSelfMailDAO.java
 * @author huxh
 * @date 2012-07-02
 **/
package com.readnote.sellselfmail.dao.impl;

import java.util.List;

import com.cr.backbone.hibenate.AppBaseDAOImpl;
import com.cr.backbone.hibenate.QueryParam;
import com.cr.backbone.util.UtilsDataDict;
import com.readnote.sellselfmail.dao.SellSelfMailDAO;
import com.readnote.sellselfmail.model.SellSelfMail;

public class SellSelfMailDAOImpl extends AppBaseDAOImpl<SellSelfMail> implements SellSelfMailDAO{

	/**
	 * 查询处于申请中明细 
	 * @return
	 * @author huxh
	 * @date 2012-7-2 
	 */
	public List<SellSelfMail> getListByApply(){
		try {
			
			QueryParam param=new QueryParam();
			param.addQuery("eq_status_i", UtilsDataDict.SELL_SELF_MAIL_STATUS_APPLY);
			return getListByCriteria(param);
		} catch (Exception e) {
			// TODO: handle exception
			e.printStackTrace();
		}
		return null;
	}
	
	
}
